package org.example.seckill.dao.pojo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;

@Getter
@Setter
@ToString
public class Order {

    int id;
    String orderNo;
    int productId;
    int userId;
    double payAmount;
    int status;
    Date createdAt;

    public enum STATUS {
        NOT_PAY, PAID, EXPIRED
    };
}
